﻿using System.Data;
using DAL;

namespace BLL
{
    public class BllReportExpenditure
    {
        #region[Get-Data]
        public DataTable GetReportExpenditure(string keywords)
        {
            return DalReportExpenditure.GetReportExpenditure(keywords);
        }
        public DataTable GetReportExpenditureFillter(string DateBegin, string DateEnd)
        {
            return DalReportExpenditure.GetReportExpenditureFillter(DateBegin, DateEnd);
        }
        public DataTable GetReportExpenditureEdit(int id)
        {
            return DalReportExpenditure.GetReportExpenditureEdit(id);
        }
        public DataTable GetReportExpenditureDetailTemp(int Users_Id)
        {
            return DalReportExpenditure.GetReportExpenditureDetailTemp(Users_Id);
        }
        public DataTable GetReportExpenditureDetailTempSum(int Users_Id)
        {
            return DalReportExpenditure.GetReportExpenditureDetailTempSum(Users_Id);
        }
        public DataTable GetReportExpenditureDetail(int id)
        {
            return DalReportExpenditure.GetReportExpenditureDetail(id);
        }
        public DataTable GetReportExpenditureDetailSum(int id)
        {
            return DalReportExpenditure.GetReportExpenditureDetailSum(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Insert(EtReportExpenditure obj)
        {
            return DalReportExpenditure.Insert(obj);
        }
        public static bool InsertDetail(EtReportExpenditureDetail obj)
        {
            return DalReportExpenditure.InsertDetail(obj);
        }
        public static bool Update(EtReportExpenditure obj)
        {
            return DalReportExpenditure.Update(obj);
        }
        public static bool Delete(EtReportExpenditure obj)
        {
            return DalReportExpenditure.Delete(obj);
        }
        public static bool DeleteTemp(EtReportExpenditureDetail obj)
        {
            return DalReportExpenditure.DeleteTemp(obj);
        }
        public static bool DeleteDetail(EtReportExpenditureDetail obj)
        {
            return DalReportExpenditure.DeleteDetail(obj);
        }
        public static bool DeleteTempAdd(EtReportExpenditureDetail obj)
        {
            return DalReportExpenditure.DeleteTempAdd(obj);
        }
        public static bool LockUnlock(EtReportExpenditure obj)
        {
            return DalReportExpenditure.LockUnlock(obj);
        }
        #endregion
    }
}